package com.xiaomi.back.dao.user;

import com.xiaomi.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

public interface UserBackDao {


    //查询今日用户登陆数量
    List<User> LoginCount(@Param("TodayTime") String TodayTime);

    //查询全部 正常用户
    List<User> getUserlist();

    //查看所有用户/ 搜索用户(按手机号模糊查询)
    List<User> getAllUser(@Param("pnumber") String phone);

    //冻结账户
    int Updatefrozen(@Param("uid") int uid,@Param("state") int state);

    //查看冻结用户
    List<User> getUnseal();
}
